import type { IQuery } from '@/api/config/types';
import axios from 'axios';

export const getCatWallpaper = (query: IQuery) => {
  return axios.get(`public/getWallpaper`, {
    params: {
      pageSize: query.pageSize,
      pageNum: query.pageNum,
      category: query.category,
    },
  });
};
